﻿using System.Dynamic;
using Zhp.Model.Design;

namespace Zhp.IService.Design
{
    public interface IDesignInstanceService
    {
        Task<DesignInstanceModel> QueryConfig(long menuId);
        Task<List<ExpandoObject>> Query(DesignInstanceQuery query);
        Task<bool> Create(DesignInstanceEdit p);
        Task<bool> Update(DesignInstanceEdit p);
        Task<bool> Delete(long formId, long id);
        Task<ExpandoObject> Details(long formId, long id);
    }
}
